import request from '@/utils/request'

// 查询详情 保养
export function getMaintain(id) {
  return request({
    url: '/car/carMaintain/' + id,
    method: 'get'
  })
}


// 编辑
export function updateMaintain(data) {
  return request({
    url: '/car/carMaintain/update',
    method: 'post',
    data: data
  })
}

// 新增

export function addMaintain(data) {
  return request({
    url: '/car/carMaintain/save',
    method: 'post',
    data: data
  })
}


